home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 October
/
Macworld (1998-10).dmg
/
Serious Demos
/
Graphing Calculator 2.1 Demo
/
Graphing Calculator 2.1 Demo.rsrc
/
Demo_1403_Curves
< prev
next >
Wrap
Text File
|
1998-08-07
|
1KB
|
30 lines
y=x^2% "To graph a 2D curve, type a function of x, starting with 'y='."
y=sinx
y=e^x%
Zy=sine^x%
y=nx n=0,2,10 "To animate a 2D curve, type a function of x and n."
y=sinnx n=0,10,20
y=sine^nx% n=0,2,10
y=xsin1/x+n% n=-1,1,20
x=y^2 "You can also graph x as a function of y."
x=siny
x=sinny n=0,5,10
r=2 "You can also graph r as a function of theta."
r=2cos2#
r=#
#=picospir "You can also graph theta as a function of r."
x@+y@=4 "You can also graph curves defined implicitly by a relationship between x and y."
x@+y@/2=2
x@+y@+sin4x+sin4y=1
r@=#@ "You can also graph implicit curves in r and theta."
V=Vsin2pitTcos2pit "You can also graph x and y parametrically as functions of t."
V=V2sin4pitTcos6pit
VrT#=V2+.2cos24pitT2pit "You can also graph r and theta parametrically as functions of t."
Cxy "You can also graph contour lines for functions of x and y."
Cr "You can also graph contour lines for functions of r and theta."
y=sinxNy=sinx*sin25x "Several equations may be graphed at once."
x@+y@=3Nr=2+.1cos8#Ny=x
W=Wsin8pitT2tTcos8pit "You can also graph parametric curves in space."
WrT#Tz=W2T2pitTcos8pit "You can also graph curves in cylindrical coordinates."
WrT#Tphi=W2Tnpicos2pitT2pit n=0,8,50 "You can also graph curves in spherical coordinates."